<table width="95%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td  height="5"></td>
  </tr>
</table>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="394" valign="top"><table width="384" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="384" height="35" background="<?php echo SITE_URL?>images/info_r2_c1.jpg">&nbsp;&nbsp;&nbsp;&nbsp;<span class="tit"><?php echo $sceneSpot->getName();?></span></td>
      </tr>
    </table>
      <table width="384" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="<?php echo SITE_URL?>images/info_r5_c1.jpg" height="30" class="titsmall">&nbsp;&nbsp;&nbsp;&nbsp;景点介绍:</td>
        </tr>
        <tr>
          <td align="center" background="<?php echo SITE_URL?>images/info_r5_c1.jpg"><table width="94%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><span class="word">&nbsp;<?php echo $sceneSpot->getDes();?></span></td>
            </tr>
          </table>            </td>
        </tr>
      </table>
      <table width="384" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r10_c1.jpg" width="384" height="9" /></td>
        </tr>
      </table></td>
    <td width="606" valign="top"><table width="594" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="<?php echo SITE_URL?>images/info_r1_c5.jpg" width="594" height="13" /></td>
      </tr>
    </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="<?php echo SITE_URL?>images/info_r6_c5.jpg"><table width="94%" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td class="tit">景点图片</td>
            </tr>
          </table>
          <div>
          	<?php foreach ($photos->getResults() as $k => $v): ?>
          	<div style="float:left;width:125px;margin-left:15px;margin-top:25px;">
          		<?php $imgSize = getimagesize(SITE_URL.'uploads/'.$v->getSrc());?>
          		<img src="<?php 
          			echo SITE_URL.'uploads/'.$v->getSrc();
          		?>" 
          		<?php
          			if($imgSize['0'] > 125){
          				echo 'width="125"';
          			}
          			if($imgSize['1'] > 80){
          				echo 'height="80"';
          			}
          		?> style="margin-top:5px;">
          	</div>
          	<?php endforeach; ?>
          </div>
            </td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center" height="30px">
      		<span class="yh">
				<?php if( $photos->haveToPaginate() ): ?>
					<?php echo link_to('上页','/sceneSpot/intro?id='.$id.'&page='.$photos->getPreviousPage()) ?>
			
					<?php foreach ( $photos->getLinks() as $page ): ?>
						<?php echo link_to_unless($page == $photos->getPage(),$page,'/sceneSpot/intro?id='.$id.'&page='.$page) ?>
						<?php echo ($page != $photos->getCurrentMaxLink()) ? '-':'' ?>
					<?php endforeach; ?>
					<?php echo link_to('下页','/sceneSpot/intro?id='.$id.'&page='.$photos->getNextPage()) ?>
				<?php endif; ?>
			</span>
			</td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>images/info_r11_c5.jpg" width="594" height="8" /></td>
        </tr>
      </table>
      <table width="594" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
